package spring.five.texing;

import org.junit.Test;
import org.springframework.context.support.GenericApplicationContext;

/**
 * @author wang fei
 * @date 2020-10-13 13:53
 */
public class UserTest {

    //函数风格创建对象，交给Spring进行管理

    @Test
    public void  testGenericApplicationContext(){
        //1.创建GenericApplicationContext
        GenericApplicationContext context = new GenericApplicationContext();
        //2.调用context方法进行注册
        context.refresh();
//        context.
    }
}
